<?php $this->load->view('common/pagehead')?>
<?php $this->load->view('common/header')?>
<div id="content" class="pgwrapper1" style="background:#fff">
<div>
<div class="spec_15"></div>
<?php $this->load->view('common/browseByAlphabet'); ?>
<div class="spec_15"></div>
<div class="left w655 mr15">
<div class="bx_shw w100">
<div class="bg1 p10_15">
<div class="left"><h1>About <span class="txt_pnk"><?php echo $storeDetailsArray[0]['store_name']; ?></span></h1></div>
</div>
<div class="p15">
<div class="left">
<?php echo $storeDetailsArray[0]['storedeals_desc1']; ?>
</div>
<div class="spec_15"></div>
<div class="spec_10"></div>
<div>
<h2>
<span class="txt_pnk"><?php echo $storeDetailsArray[0]['store_name']; ?> </span>Coupons</h2>
</div>
<div class="spec_15"></div>
<div>
<?php if(!empty($topCatCouponsArray)){ foreach($topCatCouponsArray as $temp){ ?>
<div>
<div class="left"><img src="/public/images/arrow-small.jpg" width="35" /></div>
<div style="margin-top:5px"><a href="
		                    /<?php if($temp['coupon_url']){ echo 'top-coupons'.'/'.$temp['store_url'].'/'.$temp['coupon_url'];}else{ echo $temp['store_url'].'-coupons';} ?>" style="text-decoration:none;margin-left:10px"><h3 style="margin:0;padding:0"><span class="txt_cpn"><?php echo $temp['coupon_name']; ?></span></h3></a></div>
<div class="spec_15"></div>
</div>
<div class="spec_15"></div>
<?php }} ?>
</div>
<?php if(isset($storeDetailsArray[0]['storedeals_banner']) && $storeDetailsArray[0]['storedeals_banner']!=''){?>
<div class="left" style="width:623px">
<div class="p10 bdr_logo">
<a href="<?php echo $storeDetailsArray[0]['store_url']; ?>-coupons"><img src="<?php echo $storeDetailsArray[0]['storedeals_banner'];?>" alt="<?php echo $storeDetailsArray[0]['store_name'];?> Deals" border="0" width="600"/></a>
</div>
</div>
<div class="spec_15"></div>
<?php }?>
<div class="left">
<?php echo $storeDetailsArray[0]['storedeals_desc2']; ?>
</div>
<div class="clr"></div>
</div>
<div class="spec_2"></div>
</div>
<div class="spec_15"></div>
</div>
<div class="left w320">
<div class="p10 bdr_logo">
<a href="<?php echo $bannersArray[0]['banner_link']; ?>" target="_blank" rel="nofollow"><img src="<?php echo $bannersArray[0]['banner_image']; ?>" height="250" width="300" alt="<?php echo $bannersArray[0]['banner_alt']; ?>" /></a>
</div>
<div class="spec_15"></div>
<?php $this->load->view('common/fb_widget'); ?>
<div class="spec_15"></div>
<div class="p10 bdr_logo">
<a href="<?php echo $bannersArray1[0]['banner_link']; ?>" target="_blank" rel="nofollow"><img src="<?php echo $bannersArray1[0]['banner_image']; ?>" height="250" width="300" alt="<?php echo $bannersArray1[0]['banner_alt']; ?>" /></a>
</div>
</div>
</div>
<div class="w100 bx_shw">
<div class="bg1 p10_15 txt1">
<h2>
Related <span class="txt_pnk">Deals</span>
</h2>
</div>
<ul style="list-style:disk">
<?php foreach($relatedDeals as $temp){ ?>
<?php if($storeDetailsArray[0]['store_url']==$temp['store_url']){
						} else{?>
<li class="p7_15" style="width:135px;float:left"><a href="/<?php echo $temp['store_url']; ?>-deals" style="color:#406599;font-size:15px"><?php echo $temp['store_name']; ?> </a></li>
<?php } }?>
</ul>
<div class="spec_2"></div>
</div>
<div class="spec_15"></div>
</div>
<?php $this->load->view('common/footer')?>
<script>(function(e,a,f){var c,b=e.getElementsByTagName(a)[0];if(e.getElementById(f)){return}c=e.createElement(a);c.id=f;c.src="//connect.facebook.net/en_US/all.js#xfbml=1";b.parentNode.insertBefore(c,b)}(document,"script","facebook-jssdk"));</script>
<script>!function(e,a,f){var c,b=e.getElementsByTagName(a)[0];if(!e.getElementById(f)){c=e.createElement(a);c.id=f;c.src="//platform.twitter.com/widgets.js";b.parentNode.insertBefore(c,b)}}(document,"script","twitter-wjs");</script>
<script type="text/javascript">(function(){var a=document.createElement("script");a.type="text/javascript";a.async=true;a.src="https://apis.google.com/js/plusone.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)})();</script>